DELETE
/
v3
/
rag
/
{config_id}
curl --request DELETE \
  --url https://rag-dev.test.studio.lyzr.ai/v3/rag/{config_id}/ \
  --header 'x-api-key: <api-key>'
{
  "success": true
}

Description

Deletes an existing Rag configuration by its ID.

Endpoint

DELETE /v3/rag/{config_id}/

Authentication

API Key (x-api-key) must be included in the request headers.

Path Parameters

ParameterTypeDescription
config_idstringUnique identifier of the Rag config to delete.

Response

CodeDescription
200Successful Response
422Validation Error

Response Body Example (200)

{
  "success": true
}


curl -X DELETE "https://rag-dev.test.studio.lyzr.ai/v3/rag/{config_id}/" ^
-H "accept: application/json" ^
-H "x-api-key: sk-default-EXAMPLEKEY123"


Authorizations

x-api-key
string
header
required

Path Parameters

config_id
string
required

The ID of the RAG configuration to delete.

Response

200
application/json

Successful Response

The response is of type object.